package com.hkj.genealogy.genealogydemo.service;

import com.hkj.genealogy.genealogydemo.entity.MemberTree;
import com.hkj.genealogy.genealogydemo.mapper.MemberTreeMapper;
import com.hkj.genealogy.genealogydemo.service.api.MemberTreeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @program: genealogydemo
 * @description: 操操操我好困
 * @author: Hekejian
 * @time: 2020-07-06 02:38
 **/
@Service
public class MemberTreeServiceImp implements MemberTreeService {
    @Resource
    MemberTreeMapper memberTreeMapper;
    @Override
    public List<MemberTree> getMemberTree(Long fid) {
        return memberTreeMapper.getMemberTree(fid);
    }
}
